package com.pktechan.api.entity;

import com.pktechan.api.base.BaseEntity;

import java.util.Date;

/**
 * @program
 * @Description
 * @Author qx.zhang
 * @create 2021-03-05 11:03
 */

public class MsgCode extends BaseEntity {


    private Integer id;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 验证码
     */
    private String code;

    /**
     * 是否已验证 1-已验证 0-未验证
     */
    private Integer isCheck;
    /**
     * 三方短信发送流水号
     */
    private String serialNo;
    /**
     * 发送状态 Ok-成功
     */
    private String sendStatus;
    /**
     * 发送结果描述
     */
    private String sendMessage;
    /**
     * 唯一请求 ID，每次请求都会返回。定位问题时需要提供该次请求的 RequestId
     */
    private String sendRequestId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 过期时间，使用redis管理
     */
    private Date expireTime;

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMobile() {
        return this.mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getIsCheck() {
        return this.isCheck;
    }

    public void setIsCheck(Integer isCheck) {
        this.isCheck = isCheck;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getSendStatus() {
        return sendStatus;
    }

    public void setSendStatus(String sendStatus) {
        this.sendStatus = sendStatus;
    }

    public String getSendMessage() {
        return sendMessage;
    }

    public void setSendMessage(String sendMessage) {
        this.sendMessage = sendMessage;
    }

    public String getSendRequestId() {
        return sendRequestId;
    }

    public void setSendRequestId(String sendRequestId) {
        this.sendRequestId = sendRequestId;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getExpireTime() {
        return this.expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

}
